Stream from September 14, 2023 on https://twitch.tv/sphaerophoria Today we added some logging infrastructure. This logger uses a circular buffer that can be safely written to from an interrupt context. The logger supports different levels that can be adjusted at a per module basis. It also only allocates when necessary, which means that we should be able to construct some logs before the allocator even comes up 00:00 Intro 04:28 Setting up the logger 25:57 Implementing a circular buffer 38:16 Implementing a spinlock 1:00:16 Back to the circular buffer 1:27:05 Back to the logger 1:34:54 Oops... spinlocks aren't right 2:01:45 It works!